let login = () => {
  return new Promise((resolve,reject)=>{
    wx.request({
      url: 'http://123.56.105.243:8080/user/login',
      method:"POST",
      data:{
      account:"admin",
      password:"admin" 
      },
      success:res=>{
        resolve(res.data.data.token)
      },
      fail:err=>{
        reject(err)
      }
    })
  })
}
export default login